package com.zcf.mapper;

import com.zcf.pojo.Chat;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * 聊天记录表 Mapper 接口
 * </p>
 *
 * @author loupeng
 * @since 2018-12-27
 */
public interface ChatMapper extends BaseMapper<Chat> {

	/**
	 * 查询聊天记录
	 * 
	 * @return
	 */
	List<Chat> query(@Param("userId") String userId, @Param("coverUserId") String coverUserId,
			@Param("sum") Integer sum);
}
